<%@ page language="java" contentType="text/html; charset=EUC-KR"
	pageEncoding="EUC-KR" import="java.util.ArrayList"%>

<html>
<head>
</head>
<body>
	<%
	ArrayList<String> surveyList = (ArrayList)request.getAttribute("surveyList");
	String survey = "";
	%>
	<br/><br/><br/><br/><br/><br/>
	<center>

  	<form action="surveyselector" method="post">
  	<fieldset style="border:1px solid black; width:30%;">
  	<legend>Survey category</legend>
  	<table border=0 align="center" style="margin-top: 20px;margin-bottom: 20px;">
  		<%
  			for(int i=0;i<surveyList.size();i++){
  				survey = surveyList.get(i);
  				out.println("<tr align=left>");
  				out.println("<td>"+(i+1)+".&nbsp;&nbsp;"+survey+" survey</td>");
  				out.println("<td><input type=\"radio\" name=\"survey\" value=\""+survey+"\"></td>");
  				out.println("</tr>");
  				out.println("<tr><td><br></td></tr>");
  			}
  		%>
	</table>
	</fieldset>
	<p><input type="submit" value="submit"></p>
	</form>
	</center>
</body>
</html>